package org.csu.canteen.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("log")
public class Log {
    @TableId
    private String username;

    /*
     mark——宠物商品记录标志
     0——浏览   1——添加到购物车  2——提交订单
    */
    private Integer mark;

    private String info;

    private String name;

    @TableField(value = "time")
    private Date date;
}
